 package cn.bdqn.applysystem.entity;

import java.util.Date;

public class Student {
	
	private Integer id;						//学生ID
	private String studentName;				//学生姓名
	private Integer age;					//年龄
	private Integer sex;					//性别(1.男 2.女)
	private String educationBackground;		//学历
	private String identityCard;			//身份证号码֤
	private String address;					//住址
	private Date birthday;					//出生日期
	private String phone;					//练习方式
	private Integer computerSavvy;			//对计算机的了解(0.零基础 1.一般 2.资深)
	private Integer state;					//学员状态
	private Integer gradeId;				//班级ID
	private Integer counselor;				//咨询师ID
	private Date registerTime;				//报名时间
	
	private User user;
	private Grade grade;
//	private String identityCardImageFront;	//身份证照正面
//	private String identityCardImageTail;	//身份证照反面
	
	public Student(){}
	public Student(Integer id, String studentName, Integer age, Integer sex,
			String educationBackground, String identityCard, String address,
			Date birthday, String phone, Integer computerSavvy,
			Integer gradeId, Integer counselor, Integer state, String identityCardImageFront,
			String identityCardImageTail) {
		super();
		this.id = id;
		this.studentName = studentName;
		this.age = age;
		this.sex = sex;
		this.educationBackground = educationBackground;
		this.identityCard = identityCard;
		this.address = address;
		this.birthday = birthday;
		this.phone = phone;
		this.computerSavvy = computerSavvy;
		this.gradeId = gradeId;
		this.counselor = counselor;
		this.state = state;
//		this.identityCardImageFront = identityCardImageFront;
//		this.identityCardImageTail = identityCardImageTail;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getEducationBackground() {
		return educationBackground;
	}
	public void setEducationBackground(String educationBackground) {
		this.educationBackground = educationBackground;
	}
	public String getIdentityCard() {
		return identityCard;
	}
	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Integer getComputerSavvy() {
		return computerSavvy;
	}
	public void setComputerSavvy(Integer computerSavvy) {
		this.computerSavvy = computerSavvy;
	}
	public Integer getGradeId() {
		return gradeId;
	}
	public void setGradeId(Integer gradeId) {
		this.gradeId = gradeId;
	}
	public Integer getCounselor() {
		return counselor;
	}
	public void setCounselor(Integer counselor) {
		this.counselor = counselor;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Grade getGrade() {
		return grade;
	}
	public void setGrade(Grade grade) {
		this.grade = grade;
	}
	public Date getRegisterTime() {
		return registerTime;
	}
	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
	
//	public String getIdentityCardImageFront() {
//		return identityCardImageFront;
//	}
//	public void setIdentityCardImageFront(String identityCardImageFront) {
//		this.identityCardImageFront = identityCardImageFront;
//	}
//	public String getIdentityCardImageTail() {
//		return identityCardImageTail;
//	}
//	public void setIdentityCardImageTail(String identityCardImageTail) {
//		this.identityCardImageTail = identityCardImageTail;
//	}
	
	
	
}
